package com.scada.hessian.client.impl;

import java.util.List;

import com.scada.inf.PermissionRoleVisitor;
import com.scada.model.bean.PermissionRole;
import com.scada.model.result.ResponseBean;
import com.scada.wechat.hessian.client.BaseClient;
import com.scada.wechat.hessian.client.annotation.HessianNamespace;

@HessianNamespace("permissionRoleVisitorService")
public class PermissionRoleVisitorClient extends BaseClient<PermissionRoleVisitor> implements PermissionRoleVisitor {

	public ResponseBean selectPermissionByRoleKey(Integer roleId) {
		return getVistor().selectPermissionByRoleKey(roleId);
	}

	public ResponseBean savePermissionByRoleKey(Integer roleId, List<PermissionRole> perList) {
		// TODO Auto-generated method stub
		return getVistor().savePermissionByRoleKey(roleId, perList);
	}

}
